package com.luguokong.pet_rescue.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Essay {
    public int essayId;
    private int userId;
    private String essayType;  // 文章类型
    private String title;
    private String content;
    private Timestamp pubDate;
    private int flag; // 是否是草稿
    private int isDelete;
}
